package top.sdaily.web.service;

import top.sdaily.core.mybatis.Page;
import top.sdaily.web.model.Role;

import java.util.List;

/**
 * Created by soya on 2016/10/29.
 */
public interface RoleService {

    List<Role> getAll();

    Role getRoleById(String id);

    int insertRole(Role role);

    int updateRole(Role role);
}
